package pc;

public class TestPCI {

	public static void main(String[] args) {
		// NetWorkCard c = new NetWorkCard("创新", "千兆");
		// c.start();
		//
		// c.sendInformation();
		//
		// c.stop();
		PCI p1 = new NetWorkCard("tp-link", "千兆");
		// PCI p1 = new SoundCard("tp-link", 79);
		p1.start();
		NetWorkCard p2 = (NetWorkCard) p1;
		p2.sendInformation();
		p1.stop();
	}
}
